package com.Cychat.post.service;


import com.Cychat.commons.entity.pojo.Comment;
import com.Cychat.post.entity.dto.CommentDTO;
import com.Cychat.post.entity.vo.CommentVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Auther: 崔航
 * @Date: 2025/10/28:14:26
 * @Description:
 */

public interface CommentService extends IService<Comment> {
    public List<Comment> getCommentsByPostId(Integer postId);
    public List<CommentDTO> getCommentsByRootId(Integer rootId);
    public Integer addComment(CommentVO comment);
    public Comment getCommentById(Integer commentId);
}
